﻿using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WalkingTec.Mvvm.Mvc
{
	public static class FResultExtension2
	{
		/// <summary>
		/// 触发当前页的searchbtn
		/// </summary>
		/// <param name="self"></param>
		/// <returns></returns>
		public static string TriggerSearch(this Controller self, int index = 0)
		{
			return $"wtm.TriggerSearch({index});";
		}

	}
}
